{%include file="index.header.tpl.php"%}
{%include file="index.left.tpl.php"%}
  <!--主要内容开始-->
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
        <section class="col-lg-12 connectedSortable">
         <div class="box box-default box-solid">
             <form action="" method="post"> 
                <div class="box-header with-border">
                    <span class="fa fa-table" style="float:left; font-size:18px; padding-top:3px; color:#3c8dbc;" ></span>
                    <p class="box-title">班级量化考核</p>
                </div>
                   <div class="box-body">
                       <div class="form-group" style="padding:0;">
                              <label for="inputPassword3" class="col-sm-1 col-xs-4 control-label" style="padding-right:0; padding-left:0; font-weight:500; margin:0;">
                                   量化日期：
                              </label>
                              <div class="input-group col-sm-2 col-xs-8">
                              <input id="from" class="form-control"  name="create_time" type="text">
                              <div class="input-group-addon">
                                         <i class="fa fa-calendar"></i>
                                    </div>
                              </div> 
                        </div>
                        <table class="table table-bordered" id="idData" >
                                <thead>
                                    <tr>
                                        <td>班级名称</td>
                                     {%foreach from=$quan_lists key=key item=value%}   
                                        <td>{%$value.clas_quantification%}</td>
                                     {%/foreach%}
                                    </tr>
                                </thead>
                                <tbody >
                              {%foreach from=$class_lists key=key item=value%}
                                    <tr>
                                        <td>{%$value.class_name%}</td>
                                        {%foreach from=$quan_lists key=k item=v%}
                                        <td><input type="text"  style="width:100%" name="qu_{%$value.class_id%}_{%$v.clas_id%}"></td>
                                        {%/foreach%}
                                    </tr>   
                                   {%/foreach%}
                                
                            </tbody>
                        </table>                     
                   </div><!--box-body -->
                     <div class="box-footer text-center">
                         <button type="submit" class="btn btn-primary"> 保 存</button>
                   </div>
               </form>
           </div><!--box box-default box-solid-->
        </section>   
           
        </div><!--row-->
    </section>
 </div>
  <!--主要内容结束-->
   {%include file="index.footer.tpl.php"%}
</script>
    <script>
    /*日历编辑*/
    $(function() {
    	$( "#from" ).datepicker({
    		changeMonth: true,
    		changeYear: true,
    	});
    });
  </script>
